#pragma once
#include "fxcc/core/graph/common/EffectsDesc.h"
#include "fxcc/core/BaseLoader.h"

struct EffectsLoader :public BaseLoader
{
	static std::unordered_map<std::string, std::shared_ptr<fxcc::graph::common::EffectsDesc>> m_EffectsDescs;

	bool LoadFile(const fxcc::File& file);

	std::shared_ptr<fxcc::graph::common::EffectsDesc> GetEffectDesc(const std::string& key);

	std::shared_ptr<fxcc::graph::common::EffectsDesc> LoadPath(const std::string& path, bool force_reload = false);

};